<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>4.细线表格与间距与空白单元格处理</title>
  <link rel="stylesheet" href="1.css">
  <style>
    table {
     /* border-collapse: collapse;J*/
     empty-cells: hide;
    }

    table td {
      border: solid 1px #ddd;
    }

    td {
      padding: 10px;
    }
  </style>
</head>

<body>

  <!-- 普通表格 -->
  <table border="1">
    <thead>
      <tr>
        <td>编号</td>
        <td>标题</td>
        <td>网址</td>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>1</td>
        <td>1</td>
        <td>houdunren.com</td>
      </tr>
      <tr>
        <td>2</td>
        <td>2</td>
        <td>houdunren.com</td>
      </tr>
      <tr>
        <td>3</td>
        <td>3</td>
        <td>houdunren.com2</td>
      </tr>
      <tr>
        <td></td>
        <td></td>
        <td></td>
      </tr>
    </tbody>

  </table>
</body>

</html>